package com.ujoku.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.labillusion.core.util.jsonFormat.SimpleDateSerializer;

import java.util.Date;

/**
 * Created by suggestion on 2015/2/27.
 */
public class Review {

    private String id;
    private int goods_id;
    private int member_id;
    private String member_username;
    private String goods_review;
    @JsonSerialize(using = SimpleDateSerializer.class)
    private Date addDate;

    private boolean portrait;

    private String headPortraitUrl;

    private Date portraitUpdateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public String getMember_username() {
        return member_username;
    }

    public void setMember_username(String member_username) {
        this.member_username = member_username;
    }

    public String getGoods_review() {
        return goods_review;
    }

    public void setGoods_review(String goods_review) {
        this.goods_review = goods_review;
    }

    public Date getAddDate() {
        return addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public boolean isPortrait() {
        return portrait;
    }

    public void setPortrait(boolean portrait) {
        this.portrait = portrait;
    }

    public Date getPortraitUpdateTime() {
        return portraitUpdateTime;
    }

    public void setPortraitUpdateTime(Date portraitUpdateTime) {
        this.portraitUpdateTime = portraitUpdateTime;
    }

    public String getHeadPortraitUrl() {
        return headPortraitUrl;
    }

    public void setHeadPortraitUrl(String headPortraitUrl) {
        this.headPortraitUrl = headPortraitUrl;
    }
}
